package CGLibProxy;

import java.util.Arrays;

/**
 * @author ：MJS
 * @date ：Created in 2021/6/3  19:20
 * @description：TODO
 */
public class test {
    public static void main(String[] args) {
        int[] array = {1,23,43,4325,23423,532,42342,3433,22,234,423,423};
        for (int i = 1; i < array.length; i++) {
            for (int j = 0; j < array.length-i; j++) {
                if (array[j] > array[j+1]){
                    int temp = array[j+1];
                    array[j+1] =array[j];
                    array[j] = temp;
                }

            }
        }
        System.out.println(Arrays.toString(array));
    }
}
